package vip.xiaonuo.goview.modular.project.result;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
@Getter
@Setter
public class GoviewProjectResult {

    /** ID */
    @TableId
    @Schema(description = "ID")
    private String id;

    /** 项目名称 */
    @Schema(description = "项目名称")
    private String projectName;

    /** 状态 */
    @Schema(description = "状态")
    private Integer state;

    /** 预览图片url */
    @Schema(description = "预览图片url")
    private String indexImage;

    /** 项目备注 */
    @Schema(description = "项目备注")
    private String remarks;

    /** 删除标志 */
    @Schema(description = "删除标志")
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private String deleteFlag;

    /** 创建时间 */
    @Schema(description = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /** 创建用户 */
    @Schema(description = "创建用户")
    @TableField(fill = FieldFill.INSERT)
    private String createUser;

    /** 修改时间 */
    @Schema(description = "修改时间")
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    /** 修改用户 */
    @Schema(description = "修改用户")
    @TableField(fill = FieldFill.UPDATE)
    private String updateUser;

    /** 配置 */
    @Schema(description = "配置")
    private String content;
}
